<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WanDa</title>
<script type="text/javascript" src="/include/manage/swfupload/swfupload.js"></script>
<script type="text/javascript" src="/include/manage/swfupload/swfupload.queue.js"></script>
<script type="text/javascript" src="/include/manage/swfupload/fileprogress.js"></script>
<script type="text/javascript" src="/skin/WDYYhtml/js/pic_handlers.js"></script>
<link rel="stylesheet" href="/skin/WDYYhtml/css/style.css" type="text/css" media="all" />
<script language="javascript">
var settings;

jQuery.ajaxSetup ({  
	cache: false
});

$(function(){
			//初始化上传组件
			settings = {
				flash_url : "/include/manage/swfupload/swfupload.swf",
				upload_url: "/ImageUpload?sid=$!thisSite.id&pid=$!thisPicType.id&uid=$!user.id",
				use_query_string : true,
				file_size_limit : "10 MB",
				file_types : "*.jpg;*.gif;*.bmp;*.png",
				file_types_description : "图片文件",
				file_upload_limit : 150,
				file_queue_limit : 0,
				custom_settings : {
					progressTarget : "fsUploadProgress",
					cancelButtonId : "btnCancel"
				},
				debug: false,
				// Button settings
				//button_image_url: "/include/manage/swfupload/XPButtonUploadText_61x22.png",
				button_width: "61",
				button_height: "22",
				button_placeholder_id: "spanButtonPlaceHolder",
				button_text: "浏览...",
				
				moving_average_history_size: 40,
				
				// The event handler functions are defined in handlers.js
				file_queued_handler : fileQueued,
				file_queue_error_handler : fileQueueError,
				file_dialog_complete_handler : fileDialogComplete,
				upload_start_handler : uploadStart,
				upload_progress_handler : uploadProgress,
				upload_error_handler : uploadError,
				upload_success_handler : uploadSuccess,
				upload_complete_handler : uploadComplete,
				queue_complete_handler : queueComplete	// Queue plugin event
			};

			swfu = new SWFUpload(settings);

});

function showSpicSetting(){
	if($('#spicsetting')[0].style.display=='none'){
		$('#spicsetting')[0].style.display='';
		gen_spic=1;
	}else{
		$('#spicsetting')[0].style.display='none';
		gen_spic=0;
	}
}
</script>
</head>

<body>
#parse('/inc/user_head.htm')

<!---->
<div id="Wrapper">
	<div class="wrapper mwrapper">
		<div class="mem">
			<div class="mmenu">
				#set($patype=$thisType.getParentType())
				#set($mytype=$paType.getParentType())
				#foreach($atype in $mytype.getSubTypes(1))
				<a href="$atype.href"
			    #if($atype.id.equals($thisType.id)) class="now"#end
			    >$atype.name</a>
				#end
				<!--<a href="member.html">首页</a>
				<a class="active" href="member_show.html">作品秀</a>
				<a href="member_profile.html">个人资料</a>
				<a href="member_password.html">修改密码</a>-->
			</div>

			
			<!---->
			<div class="memshow">
				<div class="title">
					<h3>作品管理</h3>
					<a href="#">发布作品 &gt;&gt;</a>
				</div>
				<form id="addPicTypeForm" name="addPicTypeForm" action="/user.do?parameter=savePicType" method="post">
                <input type="hidden" name="id" value="$!thisPicType.id"/>
                <input type="hidden" name="userid" value="$user.id"/>
                <input type="hidden" name="site" value="$thisSite.id"/>
				<div class="cont">
					<h5>发布作品，让更多的人了解你</h5>
					
					<div class="m1">
						<ul><li><strong>标题：</strong><input class="mtxt" type="text" value="$!thisPicType.name" name="name" /></li>
							<li><strong>时间：</strong><input class="mtxt mtxt1" type="text" value="$!thisPicType.date" name="date" /></li>
						</ul>
					</div>
					
					<!---->
					<!---->
					<div class="m2">
						<div class="m2c">
							<img src="/skin/WDYYhtml/images/p11.jpg" alt="" />
							<ul><li><a href="#">更改/上传图片</a> (注：建议上传图片尺寸为670x600,格式为jpg或gif，宽度不得大于670)</li>
								<li><a href="#">删除图片</a></li>
								<li><em>排序</em><input class="mtxt mtxt2" value="1" name="" /></li>
							</ul>
						</div>
						
						<div class="m2c">
							<img src="/skin/WDYYhtml/images/p11.jpg" alt="" />
							<ul><li><a href="#">更改/上传图片</a> (注：建议上传图片尺寸为670x600,格式为jpg或gif，宽度不得大于670)</li>
								<li><a href="#">删除图片</a></li>
								<li><em>排序</em><input class="mtxt mtxt2" value="2" name="" /></li>
							</ul>
						</div>
					</div>
					
					<!---->
					<div class="mbtn2">
						<button name="">上传图片</button>
					</div>
					
					<div class="seltype" id="setType">
						<strong>分类选择</strong>
						<ul><li><a class="active" href="javascript:void(0)">歌手</a></li>
							<li><a href="javascript:void(0)">舞蹈</a></li>
							<li><a href="javascript:void(0)">演员</a></li>
						</ul>
					</div>
					
					<!---->
					<div class="mbtn">
						<button name="">发布</button>
						<button class="cancel" name="">取消</button>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="footer">
		#parse('/inc/copyright.htm')
		<p></p>
		<p></p>	
	</div>
</div>

<!---->
<div class="footer-wrapper">
	<div class="footer">
		#parse('/inc/nav.htm')
	</div>
</div>

<!---->
<div id="NavLeft"><a href="javascript:void(0)">Show</a></div>
<div id="NavRight"><a href="javascript:void(0)">Star</a></div>
</body>
</html>
